package com.itdct.onflow.system.api.global

import com.itdct.onflow.system.api.entity.SysApiEntity


/**
 * @author Zhouwx
 * @date 2025/4/27 17:38:38
 * @version 1.0
 * @description
 */
object ApiGlobalMap {
    val apiMap = mutableMapOf<String, SysApiEntity>()
    val roleApiMap = mutableMapOf<Long, HashSet<String>>()

    fun getApiKey(apiEntity: SysApiEntity): String {
        return "${apiEntity.method}://${apiEntity.url}"
    }
}